package com.financing.platform.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.financing.platform.dao.IFpFundCMDao;
import com.financing.platform.dto.FpFundCMDTO;
import com.financing.platform.service.IFpFundCMService;

/**
 * @Description:Service实现类
 * @version 1.0
 * @created caojiayao
 */
 
@Service(value="fpFundCMService")
public class FpFundCMServiceImpl implements IFpFundCMService {
    @Autowired
	private IFpFundCMDao fpFundCMDao;
	
	
	@Override
	public FpFundCMDTO getFpFundCM(Integer id) {
		return fpFundCMDao.getFpFundCM(id);
	}
	
	
	@Override
	public Integer insertFpFundCM(FpFundCMDTO dto) {
		return fpFundCMDao.insertFpFundCM(dto);
	}

	
	@Override
	public Integer updateFpFundCM(FpFundCMDTO dto) {
		return fpFundCMDao.updateFpFundCM(dto);
	}
	
	@Override
	public Integer delFpFundCM(Integer id) {
		return fpFundCMDao.delFpFundCM(id);
	}
	
	@Override
	public List<FpFundCMDTO> listFpFundCM(FpFundCMDTO dto) {
		return fpFundCMDao.listFpFundCM(dto);
	}
	
	@Override
	public List<FpFundCMDTO> listFpFundCMByPage(FpFundCMDTO dto) {
		return fpFundCMDao.listFpFundCMByPage(dto);
	}
	
	@Override
	public Integer countFpFundCM(FpFundCMDTO dto){
		return fpFundCMDao.countFpFundCM(dto);
	}
}
